Skip to content

Conversation

@mkardach
Copy link

@mkardach mkardach commented Mar 8, 2024

Description

This PR updates the k8s_parameters_loader.py script to ensure that the envs key is present in the configuration dictionary before attempting to update it. Previously, the absence of the envs key would lead to a KeyError, disrupting the configuration process. The modification includes a conditional check that initializes envs as an empty dictionary if it is not already present, thus preventing any errors when updating the configuration with the DATAHUB_GMS_URL.

@mkardach mkardach requested a review from p-pekala as a code owner March 8, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants